<?php 

function wot_orcamento_os() {

echo "
<div class='wrap'>
	<h2>Orçamento</h2> 
<div id='all-data'>
			
			<div class='infos-os'>
			<b id='numero_os'>Nº ".$num_os."</b> <b>Tipo:</b> ".$tipo_os."	
			</div>
			<div id='informacoes-da-os'>
				<b>Data:</b> " . date('d/m/y', strtotime( $data_correta )) . "
				<span id='nao-mostrar-impressao'>  · <b style='line-height:28px;'> Atendente: </b> ".$autor_os." *</span>
			</div>
			
<table id='margemzero' class='widefat'>
<thead>
<tr>
<th scope='col' width='5%' id='qtd_serv'> <b>Qtd.</b> </th>
<th scope='col' id='desc_serv'> <b>Descrição</b> </th>
<th scope='col' width='3%' align='center' id='essencial_serv'> <b>E</b> </th>
<th scope='col' width='15%' id='nome_peca'> <b>Peça (R$)</b> </th>
<th scope='col' width='15%' id='nome_mo'> <b>Mão de Obra (R$)</b> </th>
<th scope='col' width='15%' id='valor_serv'> <b>Valor (R$)</b> </th>
</tr>
</thead>
<tbody>
<tr>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
<td > <input type='checkbox' /> </td>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
</tr>
<tr>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
<td > <input type='checkbox' /> </td>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
</tr>
<tr>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
<td > <input type='checkbox' /> </td>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
<td > <input type='text' /> </td>
</tr>
<tr>
<td colspan='4'> <button width='100%' name='botao-voltar' class='button' value='Voltar' onclick='myFunction()'>+</button> </td>
<td align='right' valign='middle'> <b>Valor Total (R$):</b></td>
<td > <input type='text' /> </td>
</tr>
</tbody>
</table>
<div class='buttons-bottom'>
			<div id='coluna-esquerda'>
				<input type='button' name='botao-voltar' class='button' value='Voltar' onClick='history.go(-1)'/>
			</div>
			<div id='coluna-direita'>
				<input type='button' name='botao-limpar' class='button' value='Limpar'/>
				<input type='submit' name='botao-salvar' class='button button-primary' value='Salvar'/>
			</div>
</div>
</div>
</div>
<script>
function myFunction()
{
var table = document.getElementById('margemzero');
var row = table.insertRow(4);
var cell1 = row.insertCell(0);
var cell2 = row.insertCell(1);
cell1.innerHTML = '<input />';
cell2.innerHTML = '<input />';
}
</script>
";}

?>